package com.vilen.learn.java7.V3_1.L3_11;

import com.google.inject.Provider;
import com.vilen.learn.java7.V3_1.AgentFinder;
import com.vilen.learn.java7.V3_1.SpreadsheetAgentFinder;

/**
 * Created by vilen on 2017/9/23.
 */
public class AgentFinderProvider implements Provider<AgentFinder> {
    @Override
    public AgentFinder get() {
        SpreadsheetAgentFinder finder = new SpreadsheetAgentFinder();
        finder.setType("Excel 97");
        finder.setPath("C:/temp/agents.xls");
        return finder;
    }
}
